@import url('normailze.less');

* {
  box-sizing: border-box;
}

body {
  font-family: 'MicrosoftYaHei';
  background: #fff;
}

img {
  max-width: 100%;
}

.p {
  &- {
    
    // swiper
    &swiper {
      width: 100%;

      img {
        display: block;
      }
    }

    &create {
      padding: 30px;
      
      &__ {
        &header {
          position: relative;
          display: flex;
          align-items: center;
          height: 120px;
          padding: 0 20px;
          box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.2);

          &:after {
            content: '';
            position: absolute;
            top: 50%;
            right: 30px;
            width: 20px;
            height: 20px;
            border: solid #888;
            border-width: 1px 1px 0 0;
            transform: rotate(45deg) translateY(-50%);
          }
        }

        &pics {
          width: 86px;
          height: 86px;
          margin-right: 20px;

          img {
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 50%;
          }
        }

        &info {
          flex: 1;

          h2 {
            font-size: 32px;
            color: #333;
          }

          p {
            font-size: 26px;
            color: #999;
            margin-top: 15px;
          }
        }
      }
    }

    &titles {
      position: relative;
      padding: 0 30px 0;

      & &__ {
        &see {
          position: absolute;
          top: 0;
          right: 30px;
          font-size: 28px;
          padding: 10px 15px;
          background: #ffede2;
          color: rgba(255,78,40,1);
        }
      }

      h2,
      span,
      p {
        display: block;
      }

      h2 {
        padding: 4px 150px 10px 0;
        margin-bottom: 10px;
        font-size: 30px;
        line-height: 1.6;
        font-weight: normal;
      }

      span {
        font-size: 26px;
        margin-bottom: 15px;
        color: #666;
      }

      p {
        font-size: #999;
        line-height: 2;
        font-size: 24px;
      }
    }

    &group {
      padding-top: 25px;
      padding-bottom: 20px;
      &__header {
        height: 66px;
        line-height: 66px;
        background: #f7f7f7;
        margin-bottom: 25px;
        border-bottom: 1px solid #ccc;
        
        ul {
          display: flex;

          li {
            width: 130px;
            text-align: center;
            
            a {
              color: #333;
              font-size: 24px;
            }
          }
        }
      }
    }

    &photo {
      &__ {
        &list {
          display: flex;
          flex-wrap: wrap;
        }

        &item {
          flex: 0 0 33.33%;
          height: 200px;
          border-bottom: 4px solid #fff;
          margin-bottom: 4px;

          &:not(:nth-child(3n+1)) {
            border-left: 4px solid #fff;
          }

          img {
            display: block;
            width: 100%;
            height: 200px;
          }

          figure {
            display: none;
          }
        }
      }
    }
  }
}

.i {
  &- {
    &swiper {
      height: 414px;
    }

    &create {
      margin-top: -72px;
      text-align: center;
      padding-bottom: 72px;
      border-bottom: 10px solid #eee;

      img {
        display: block;
        width: 144px;
        height: 144px;
        margin: 0 auto 30px;
        border-radius: 50%;
      }

      h2 {
        font-size: 34px;
        color: #333;
        font-weight: normal;
      }

      span {
        display: block;
        font-size: 24px;
        color: #666;
        padding: 20px 0 100px;
        font-size: 24px;
        color: #777;
      }
    }

    &group {
      &__ {
        &header {
          height: 80px;
          border-bottom: 1px solid #ccc;
          text-align: center;

          ul {
            display: inline-block;
            vertical-align: top;
            font-size: 0;
            width: 50%;
            height: 80px;
            
            li {
              display: inline-block;
              width: 50%;
              line-height: 80px;
              font-size: 28px;
            }
          }
        }
      }
    }

    &photo {
      &__list {

      }

      &__item {
        padding: 25px;
        border-bottom: 2px solid #eee;
        &-pics {
          position: relative;
          height: 400px;
          
          span {
            position: absolute;
            right: 0;
            bottom: 0;
            padding: 15px;
            font-size: 24px;
            color: #fff;
          }

          img {
            display: block;
            width: 100%;
            height: 100%;
          }
        }

        &-info {
          h3 {
            font-size: 30px;
            color: #666;
            padding: 25px 0;
            font-weight: normal;
          }
        }

        &-control {
          display: flex;
          align-items: center;

          img {
            display: block;
            width: 66px;
            height: 66px;
            border-radius: 50%;
            margin-right: 25px;
          }

          h4 {
            flex: 1;
          }

          span {
            color: #999;
          }
        }
      }
    }
  }
}